package com.gba.mark.user.service.permission;

import com.gba.mark.user.entity.permission.Permission;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

public interface IPermissionService extends IService<Permission> {
    List<Permission> getPermissionByUserId(Integer userId);
    List<Permission> getResourceByRoleId(long roleId);
}
